<%--
  Created by IntelliJ IDEA.
  User: 12
  Date: 2023/3/14
  Time: 11:17
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>测试拦截器</title>
    <%--1. 引入jquery--%>
    <script src="/webjars/jquery/3.6.1/jquery.min.js"></script>
    <%--2. 引入bootstrap--%>
    <link rel="stylesheet" href="/webjars/bootstrap/3.4.1/css/bootstrap.min.css">
    <script src="/webjars/bootstrap/3.4.1/js/bootstrap.min.js"></script>
    <style>
        .container{
            width: 40%;
            margin-top: 20px;
        }
        input{
            margin-bottom: 10px;
        }
    </style>
</head>
<body>
<div class="container">
    <div class="panel panel-primary">
        <div class="panel-heading">
            <h3 class="panel-title">
                <h5>用户登录</h5>
            </h3>
        </div>
        <div class="panel-body">
            <form class="form-signin" method="post" action="/user/login.do">
                <label for="username" class="sr-only">用户名</label>
                <input type="text" name="username" id="username" class="form-control" placeholder="输入用户名" required autofocus>
                <label for="password" class="sr-only">Password</label>
                <input type="password" name="password" id="password" class="form-control" placeholder="输入密码" required>
                <button class="btn btn-lg btn-primary btn-block btn-sm" type="submit">用户登录</button>
            </form>
        </div>
    </div>


</div> <!-- /container -->
</body>
</html>
